import request from '@/utils/request'

export function createOrUpdateCfgClassBatch(data) {
    return request({
        url: 'student/behavior/cfg/class/createOrUpdateCfgClassBatch',
        method: 'post',
        data
    })
}

export function findCfgClassByCfgId(cfgId) {
    return request({
        url: 'student/behavior/cfg/class/findClassByCfgId/' + cfgId,
        method: 'get',

    })
}

export function findCfgByClassId(classId) {
    return request({
        url: 'student/behavior/cfg/class/findCfgByClassId/' + classId,
        method: 'get',

    })
}